<template>
  <div class="mine">
     <headDiv v-if="info" :info='info'/>
     <listArr/>
  </div>
</template>

<script>
import headDiv from 'components/share/mine/head'
import listArr from 'components/share/mine/listArr'
import {getUser} from 'request/useData'
import {parseCookie} from 'ulit/parse'
export default {
  components:{
    headDiv,
    listArr
  },
  data(){
    return {
      info:null
    }
  },
  methods:{
    useData(){
      getUser(parseCookie()).then(res=>this.info=res.data)
    }
  },
  mounted(){
    this.useData()
  }
}
</script>

<style>
</style>